package org.ytor.core.sysapi.monitor.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * created by yangtong on 2025/7/6 21:51:14
 * <br/>
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "监控告警阈值配置")
public class ThresholdConfigResp {

    @Schema(description = "CPU使用率警告阈值（%）", example = "70")
    private Integer cpuWarning;

    @Schema(description = "CPU使用率严重阈值（%）", example = "85")
    private Integer cpuCritical;

    @Schema(description = "内存使用率警告阈值（%）", example = "75")
    private Integer memoryWarning;

    @Schema(description = "内存使用率严重阈值（%）", example = "90")
    private Integer memoryCritical;

    @Schema(description = "磁盘使用率警告阈值（%）", example = "80")
    private Integer diskWarning;

    @Schema(description = "磁盘使用率严重阈值（%）", example = "95")
    private Integer diskCritical;

    @Schema(description = "线程数警告阈值", example = "200")
    private Integer threadWarning;

    @Schema(description = "线程数严重阈值", example = "500")
    private Integer threadCritical;
}
